﻿using MediatR;
using PublicCommon;
using System.ComponentModel.DataAnnotations;

namespace T_Rbac_APi.Application.Command.DepartmentCommand
{
    public class DepartmentAddCommand:Audit,IRequest<int>
    {
        /// <summary>
        /// 主键id
        /// </summary>
    
        public int Did { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string? Dname { get; set; }
        /// <summary>
        /// 上级部门
        /// </summary>
        public string? Dpname { get; set; }
        /// <summary>
        /// 上级部门id
        /// </summary>
        public int Dpid { get; set; }

    }
}
